{yun:}include file="$wapstyle/header_train.htm"{/yun}
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/css/job.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/css/wap_tck.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<div class="itwap_top">
     	<ul>
         
			{yun:}if $config.three_cityid&&$config.sy_web_site=='1'{/yun}
				<li class="Substation popup" data-pop="Substation">
					<a href="javascript:void(0);" class="searchOptions_list_a">
						<span class="job_ov">{yun:}$city_name[$config.three_cityid]{/yun}</span>
						<i class="searchOptions_icon"></i>
					</a>
				</li>
			{yun:}else if $config.cityid&&$config.sy_web_site=='1'{/yun}
				<li class="Substation popup" data-pop="Substation">
					<a href="javascript:void(0);" class="searchOptions_list_a">
						<span class="job_ov">{yun:}$city_name[$config.cityid]{/yun}</span>
						<i class="searchOptions_icon"></i>
					</a>
				</li>
			{yun:}else{/yun}  
				<li class="grade popup" data-pop="grade">
					<a href="javascript:void(0);" class="searchOptions_list_a">
						<span class="job_ov">
							{yun:}if $city_name[$smarty.get.cityid] || $city_name[$smarty.get.provinceid]{/yun}
								{yun:}$city_name[$smarty.get.cityid]{/yun}{yun:}$city_name[$smarty.get.provinceid]{/yun}
							{yun:}elseif $city_name[$smarty.get.three_cityid]{/yun}
								{yun:}$city_name[$smarty.get.three_cityid]{/yun}
							{yun:}else{/yun}
								区域
							{yun:}/if{/yun}
						</span>
						<i class="searchOptions_icon"></i>
					</a>
				</li>
			{yun:}/if{/yun}

         	<li class="Sortprs popup" data-pop="Sortprs"><a href="javascript:void(0);" class="searchOptions_list_a">{yun:}if $comclass_name[$smarty.get.pr]{/yun}{yun:}$comclass_name[$smarty.get.pr]{/yun}{yun:}else{/yun}性质{yun:}/if{/yun} <i class="itwap_top_icon"></i></a></li>
         	<li class="Sortfx popup" data-pop="Sortfx"><a href="javascript:void(0);" class="searchOptions_list_a">{yun:}if $subject_name[$smarty.get.sid]{/yun}{yun:}$subject_name[$smarty.get.sid]{/yun}{yun:}else{/yun}方向{yun:}/if{/yun} <i class="itwap_top_icon"></i></a></li>
         	<li class="Sortmuns popup" data-pop="Sortmuns"><a href="javascript:void(0);" class="searchOptions_list_a">{yun:}if $comclass_name[$smarty.get.mun]{/yun}{yun:}$comclass_name[$smarty.get.mun]{/yun}{yun:}else{/yun}规模{yun:}/if{/yun} <i class="itwap_top_icon"></i></a></li>
    	</ul>
    	<input type="hidden" id="searchurl" value="{yun:}$searchurl{/yun}" />
</div>


<!--此处是推荐的机构-->

{yun:}foreach from=$rows item=v{/yun}

	{yun:}if $v.rec == '1'{/yun} 

	<div class="train_agency_tjlist">
		<div class="train_agency_sj_name">
			<a href="{yun:}url m=wap c=train a=agencyshow id='`$v.uid`'{/yun}">
				{yun:}$v.name{/yun}
				<!--<img src="{yun:}$config.sy_weburl{/yun}/app/template/wap/images/diy_tit4_mq.png" width="15">-->
			</a>
		</div>
		
		<ul class="train_agency_tjlistkc 4">
			{yun:}foreach from=$v.slist item=sub{/yun}
			<li>
  				<div  class="train_agency_tjlistkc_c">
					<a href="{yun:}url m=wap c=train a=subshow id='`$sub.id`'{/yun}" class=""><img src="{yun:}$sub.pic{/yun}" onerror="showImgDelay(this,'{yun:}$config.sy_ossurl{/yun}/{yun:}$config.sy_pxsubject_icon{/yun}',2);"></a>
					<div class="train_index_kcname">{yun:}$sub.name{/yun}</div>
				</div>
 			</li>
			{yun:}/foreach{/yun}
		</ul>
		
		<div class="train_agency_sj">
			<span class="train_agency_sj_s">{yun:}$v.num{/yun}个课程</span>
			<span class="train_agency_sj_s">{yun:}$v.zixunnum{/yun}动态</span>
			<span class="train_agency_sj_s">{yun:}$v.teanum{/yun}名师</span>
		</div>
		<i class="train_agency_sj_tj"></i>
	</div>


<!--机构列表-->
	{yun:}else{/yun}


	<div class="train_agency_list">
	 	<div class="train_agency_list_pic">
	 		<a href="{yun:}url m=wap c=train a=agencyshow id='`$v.uid`'{/yun}">
	 			<img src="{yun:}$v.logo{/yun}" style="width:60px;height:60px;" onerror="showImgDelay(this,'{yun:}$config.sy_ossurl{/yun}/{yun:}$config.sy_px_icon{/yun}',2);" />
	 		</a>
	 	</div>
	 
		<div class="train_agency_sj_name">
			<a href="{yun:}url m=wap c=train a=agencyshow id='`$v.uid`'{/yun}">{yun:}$v.name{/yun}</a>
		</div>
		
		<div class="train_agency_sk">
			培训方向：{yun:}$subject_name[$v.sid]{/yun} 
		</div>
		
		<div class="train_agency_sj">
			<span class="train_agency_sj_s">{yun:}$v.num{/yun}个课程</span>
			<span class="train_agency_sj_s">{yun:}$v.zixunnum{/yun}动态</span>
			<span class="train_agency_sj_s">{yun:}$v.teanum{/yun}名师</span>
		</div>
	</div>
	
	{yun:}/if{/yun}

{yun:}foreachelse{/yun}
	{yun:}if $smarty.get.keyword!="" {/yun}
  		<div class="wap_member_no">没有搜索到相关机构<div><a class="wap_mb_no_sr" href="{yun:}url m=wap c=train a=agency{/yun}">重新搜索</a></div></div>
  	{yun:}else{/yun}
  		<div class="wap_member_no">暂无相关机构<div><a class="wap_mb_no_sr" href="{yun:}url m=wap c='train' a='agency'{/yun}">重新搜索</a></div></div>
  	{yun:}/if{/yun}
{yun:}/foreach{/yun}

{yun:}if $pagenav{/yun}
	<div class="pages">{yun:}$pagenav{/yun}</div>
{yun:}/if{/yun}

<script src="{yun:}$wap_style{/yun}/js/prefixfree.min.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/layer/layer.m.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$config.sy_weburl{/yun}/app/template/wap/js/demo.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script> 
<link rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/wap/css/demo.css?v={yun:}$config.cachecode{/yun}" type="text/css">
{yun:}include file="$wapstyle/publictwo.htm"{/yun}
{yun:}include file="$wapstyle/footer.htm"{/yun}